package net.butfly.bus.config.bean.invoker;

import net.butfly.bus.config.bean.ConfigBean;
import net.butfly.bus.invoker.Invoker;

public class InvokerBean extends ConfigBean {
	private static final long serialVersionUID = 1333442276226287430L;
	private String id;
	private Class<? extends Invoker<?>> type;
	private InvokerConfigBean config;

	public InvokerBean(String id, Class<? extends Invoker<?>> type, InvokerConfigBean config) {
		this.id = id;
		this.type = type;
		this.config = config;
	}

	public String getId() {
		return id;
	}

	public Class<? extends Invoker<?>> getType() {
		return type;
	}

	public InvokerConfigBean getConfig() {
		return config;
	}
}
